﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace AlbonWeb.Manager.OrderManager
{
    public partial class BuyCloth : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                bindBuyMeOrder();    
            }   
        }
        //绑定所有BuyMeOrder
        protected void bindBuyMeOrder()
        {
            BLL.OrderBLL orderbll = new BLL.OrderBLL();
            repMain.DataSource = orderbll.getBuyMeOrder("");
            repMain.DataBind();
        }

        //进入布料List页面
        protected void buyMe_Click(object sender, ImageClickEventArgs e)
        {
            Response.Redirect("/Manager/OrderManager/ClothList.aspx?orderidlist="+hfchecklist.Value+"");
        }
    }
}